package com.lyy.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author Liangyaoyun
 */
@FeignClient("seata-product")
public interface ProductFeign {
    @PostMapping("/api/v1/product/update/{productId}/{number}")
     Long updateProduct(@PathVariable(value = "productId") Long productId, @PathVariable(value = "number") Long number);
}
